package com.atguigu.gmall.search.pojo;

import lombok.Data;

import java.util.List;

/**
 * @description:
 * @author: xie.zh
 * @create: 2021.03.16   16:49
 * @version: 1.0
 */
@Data
public class SearchParamVo {

    //搜索关键字
    private String keyword;
    //品牌过滤条件
    private List<Long> brandId;
    //分类过滤条件
    private List<Long> cid;
    //规格参数过滤条件
    private List<String> props;

    //排序字段：0或者默认-得分降序  1-价格降序  2-价格升序  3-新品降序  4-销量降序
    private Integer sort;

    //价格区间过滤
    private Double priceFrom;
    private Double priceTo;

    //是否有货
    private Boolean store;

    //分页
    private Integer pageNum = 1;
    private final Integer pageSize = 20;

}
